package com.ohuang.myapp.fraction;

import com.ohuang.baseapp.fragment.FragmentFraction;
import com.ohuang.myapp.ResourceTable;
import ohos.aafwk.ability.fraction.Fraction;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Component;
import ohos.agp.components.ComponentContainer;
import ohos.agp.components.LayoutScatter;

public class Fraction2 extends FragmentFraction {

    @Override
    protected Component onComponentAttached(LayoutScatter scatter, ComponentContainer container, Intent intent) {
        return scatter.parse(getXmlId(), container, false);
    }
    protected  int getXmlId() {
        return ResourceTable.Layout_fc_test2;
    }

}
